package com.ice.work.study.design.pattern.factory.impl;

import com.ice.work.study.design.pattern.factory.Product;
import com.ice.work.study.design.pattern.factory.annotation.ProductHandler;
import com.ice.work.study.design.pattern.factory.enums.ProductType;

/**
 * @Description 食物
 * @Author DELL
 * @Create 2019-11-25
 * @Since 1.0.0
 */
@ProductHandler(ProductType.FOOD)
public class Food implements Product {
    @Override
    public void show() {
        System.out.println("这是食物");
    }
}
